﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.RoleMenu;

/// <summary>
///     角色菜单模型 - 更新
/// </summary>
public class RoleMenuUpdateDTO
{
    /// <summary>
    ///     角色id
    /// </summary>
    [Required(ErrorMessage = "角色Id不可为空")]
    public string RoleId { get; set; }

    /// <summary>
    ///     菜单id列表
    /// </summary>
    [Required(ErrorMessage = "菜单Id不可为空")]
    public List<string> MenuId { get; set; }
}